execute as @s[team=red] as @e[type=minecart,tag=StreamMinecart,tag=red] at @s run function vs:system/game_ctrol/stream_minecart/upgrade
execute as @s[team=blue] as @e[type=minecart,tag=StreamMinecart,tag=blue] at @s run function vs:system/game_ctrol/stream_minecart/upgrade

#价格
execute store result score #price temp run data get entity @n[tag=seller,type=item_display,distance=..500] item.components."minecraft:custom_data".void_shop.price
execute as @n[tag=seller,type=item_display,distance=..500] at @s run function vs:item/void_minecart_upgrade/modify_price with entity @s item.components."minecraft:custom_data".VoidShopSlot

scoreboard players reset #price temp